package com.axonactive.yolo.dtotemp;

import java.util.ArrayList;
import java.util.List;

import com.axonactive.yolo.dtotemp.Carrier;
import com.axonactive.yolo.dtotemp.Location;
import com.axonactive.yolo.dtotemp.Price;
import com.axonactive.yolo.dtotemp.Schedule;

public class WegoFlight {
	List<Carrier> carriers;
	List<Location> locations;
	String fromLocationOB;
	String toLocationOB;
	String fromLocationIB;
	String toLocationIB;
	Price price;
	Schedule inboundInfo, outboundInfo;
	String providerId;
	String originCountryCode;
	String destinationCountryCode;

	public List<Carrier> getCarriers() {
		return carriers;
	}

	public List<Location> getLocations() {
		return locations;
	}


	public Price getPrice() {
		return price;
	}

	public Schedule getInboundInfo() {
		return inboundInfo;
	}

	public Schedule getOutboundInfo() {
		return outboundInfo;
	}

	public String getProviderId() {
		return providerId;
	}

	public String getOriginCountryCode() {
		return originCountryCode;
	}

	public String getDestinationCountryCode() {
		return destinationCountryCode;
	}

	public void setProviderId(String string) {
		// TODO Auto-generated method stub
		this.providerId = string;
	}

	public void setOriginCountryCode(String string) {
		// TODO Auto-generated method stub
		this.originCountryCode = string;
	}

	public void setDestinationCountryCode(String string) {
		// TODO Auto-generated method stub
		this.destinationCountryCode = string;
	}

	public void setPrice(Price price) {
		// TODO Auto-generated method stub
		this.price = price;
	}

	public void setCarriers(List<Carrier> carriers) {
		// TODO Auto-generated method stub
		this.carriers = new ArrayList<Carrier>();
		for (int i = 0; i < carriers.size(); i++) {
			this.carriers.add(i, carriers.get(i));
		}
	}

	public void setInboundInfo(Schedule schedule) {
		this.inboundInfo = schedule;
	}

	public void setOutboundInfo(Schedule schedule) {
		this.outboundInfo = schedule;
	}

	public void setLocations(List<Location> locations) {
		this.locations = new ArrayList<Location>();
		for (int i = 0; i < locations.size(); i++) {
			this.locations.add(i, locations.get(i));
		}

	}

	public String getFromLocationOB() {
		return fromLocationOB;
	}

	public void setFromLocationOB(String fromLocationOB) {
		this.fromLocationOB = fromLocationOB;
	}

	public String getToLocationOB() {
		return toLocationOB;
	}

	public void setToLocationOB(String toLocationOB) {
		this.toLocationOB = toLocationOB;
	}

	public String getFromLocationIB() {
		return fromLocationIB;
	}

	public void setFromLocationIB(String fromLocationIB) {
		this.fromLocationIB = fromLocationIB;
	}

	public String getToLocationIB() {
		return toLocationIB;
	}

	public void setToLocationIB(String toLocationIB) {
		this.toLocationIB = toLocationIB;
	}
}
